<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
	
<div class="col-xs-12">	
	<form:form commandName="bnpUserFilter" cssClass="form-horizontal" role="form">
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="type">消息类别:</label>
			<div class="col-sm-3">
				<select name="type" id="type" class="form-control">
					<option value="">——请选择——</option>
					<option value="0">节点确认</option>
					<option value="1">任务开始</option>
					<option value="2">逾期短信</option>
					<option value="3">即将到期</option>
					<%--<option value="4">提醒办结</option>--%>
					<%--<option value="5">提醒攻坚</option>--%>
					<option value="9">督查任务</option>
				</select>
			</div>
			<label class="col-sm-2 control-label no-padding-right" for="resDept">收件单位:</label>
			<div class="col-sm-3">
				<select name="resDept" id="resDept" class="form-control">
					<option value="">——请选择——</option>
					<c:forEach items="${branchs}" var="branchs">
					<option value="${branchs}">${branchs}</option>
					</c:forEach>
				</select>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="branchType">角色:</label>
			<div class="col-sm-3">
				<select name="branchType" id="branchType" class="form-control">
					<option value="">——请选择——</option>
					<option value="0">业主单位</option>
					<option value="1">审批部门</option>
					<option value="4">督查组</option>
					<option value="2">攻坚作战室</option>
				</select>
			</div>
			<label class="col-sm-2 control-label no-padding-right" for="recipients">收件人:</label>
			<div class="col-sm-3">
				<input type="text" name="recipients" id="recipients" placeholder="" class="form-control" >
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="phone">手机号码:</label>
			<div class="col-sm-3">
				<input type="text" name="phone" id="phone" placeholder="" class="form-control" >
			</div>
			<label class="col-sm-2 control-label no-padding-right" for="text">短信内容:</label>
			<div class="col-sm-3">
				<input type="text" name="text" id="text" placeholder="" class="form-control" >
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="beginDate">开始时间:</label>
			<div class="col-sm-3">
				<input type="text" name="beginDate" id="beginDate" autocomplete="off"
					   placeholder="" class="form-control date-picker" >
			</div>
			<label class="col-sm-2 control-label no-padding-right" for="endDate">结束时间:</label>
			<div class="col-sm-3">
				<input type="text" name="endDate" id="endDate" autocomplete="off"
					   placeholder="" class="form-control date-picker" >
			</div>
		</div>
	</form:form>
</div>
<script>
	$(function () {
        $(".date-picker").datepicker({
            inline: true,
            format: "yyyy.mm.dd",
            autoclose: true,
            todayHighlight: true,
            language: 'cn'
        }).next().on(ace.click_event, function () {
            $(this).prev().focus();
        });


    })
</script>